package br.ufpb.sistcomp.entity;

/**
 * Semester entity class
 *
 * @author Diego Sousa, www.diegosousa.com
 * @version 1.0
 * @since 01/12/2011
 *
 * Copyright (C) 2012 SistComp Empresa Jr.
 */

public class Semester{
	
	private int id;	
	private String name;	
	
	public Semester(){}
	
	public Semester(String name){		
		this.name = name;				
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	/*
	 * toString() will be in Portuguese as the preferred language of the
	 * application
	 */
	
	@Override
	public String toString() {
		return "Semestre: " + name;
	}	
}